package com.imdroid.notification;

import com.imdroid.modal.Team;

public class NTeamCancel extends Notification {
	/**
	 * The number of team number
	 */
	private Team team;

	// private User sender;

	/**
	 * The constructor
	 * 
	 * @param team
	 *            the team which invite to join
	 */
	public NTeamCancel(Team team) {
		this.team = team;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.imdroid.notification.Notification#getHeader()
	 */
	protected int getHeader() {
		return NOTIFICATION_TeamCancel;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.imdroid.notification.Notification#getBody()
	 */
	protected String getBody() {
		return team.getTeamId() + "";
	}
}
